﻿using Shiloh.Job.Model.Entities;
using Shiloh.Job.Model.Enums;
using Shiloh.Job.Services.Models;

namespace Shiloh.Job.Services.Interfaces
{
    public interface IUserIndividualLoginService
    {
        Task<CommonResponse<UserIndividual>> LoginByPwd(string username, string password);
        Task<CommonResponse<UserIndividual>> LoginBySms(string phone, string code);
        Task<CommonResponse<UserIndividual>> LoginByWechat(string weChatCode);
        Task<CommonResponse<UserIndividual>> ResiterAndLogin(string phone, string validCode);
    }
}